package com.meowcook.pojo.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "烹饪流程信息")
public class CookingVO {
    @ApiModelProperty(value = "烹饪流程id")
    private Long id;

    @ApiModelProperty(value = "食谱id")
    private Long recipeId;

    @ApiModelProperty(value = "步骤序号")
    private Short stepNumber;

    @ApiModelProperty(value = "步骤标题")
    private String title;

    @ApiModelProperty(value = "步骤描述")
    private String description;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "步骤图片地址")
    private String imageUrl;

    @ApiModelProperty(value = "步骤所需时间")
    private Short timeRequired;

    @ApiModelProperty(value = "时间单位，1-秒，2-分，3-时，4-天")
    private Byte timeUnit;
}